package cn.nawang.ebeim.api.repository;

import java.util.List;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import cn.nawang.ebeim.api.domain.Department;

@Repository
public interface DepartmentRepository extends JpaRepository<Department, String> {
  public List<Department> findAll();
}
/*
@Repository("customerRepository")
public class CustomerRepository implements CrudRepository<Customer, String> {

  @Override
  public long count() {
    // TODO Auto-generated method stub
    return 0;
  }

  @Override
  public void delete(String arg0) {
    // TODO Auto-generated method stub
    
  }

  @Override
  public void delete(Customer arg0) {
    // TODO Auto-generated method stub
    
  }

  @Override
  public void delete(Iterable<? extends Customer> arg0) {
    // TODO Auto-generated method stub
    
  }

  @Override
  public void deleteAll() {
    // TODO Auto-generated method stub
    
  }

  @Override
  public boolean exists(String arg0) {
    // TODO Auto-generated method stub
    return false;
  }

  @Override
  public Iterable<Customer> findAll() {
    // TODO Auto-generated method stub
    return null;
  }

  @Override
  public Iterable<Customer> findAll(Iterable<String> arg0) {
    // TODO Auto-generated method stub
    return null;
  }

  @Override
  public Customer findOne(String arg0) {
    // TODO Auto-generated method stub
    return null;
  }

  @Override
  public <S extends Customer> S save(S arg0) {
    // TODO Auto-generated method stub
    return null;
  }

  @Override
  public <S extends Customer> Iterable<S> save(Iterable<S> arg0) {
    // TODO Auto-generated method stub
    return null;
  }
  
}
*/
